
<?php isset($hello) && print($hello); ?>

<ol>
<?php foreach ($arrData as $item) { ?>

<li><?php isset($item) && print($item); ?></li>

<?php } ?>
</ol>


<?php if (1==$timeCode) { ?>
Good morning!

<?php } elseif (2==$timeCode) { ?>
Good afternoon!

<?php } else { ?>
Good evening!

<?php } ?>